package com.xjh.mapper;

import java.math.BigDecimal;
import java.sql.JDBCType;
import java.util.Date;
import org.mybatis.dynamic.sql.SqlColumn;
import org.mybatis.dynamic.sql.SqlTable;

public final class xjhTableDynamicSqlSupport {
    public static final xjhTable xjhTable = new xjhTable();

    /**
     * 学生账户id
     */
    public static final SqlColumn<Long> id = xjhTable.id;

    /**
     * 学生id
     */
    public static final SqlColumn<Long> stuId = xjhTable.stuId;

    /**
     * 账户余额
     */
    public static final SqlColumn<BigDecimal> money = xjhTable.money;

    /**
     * 是否可用: 0-已删除;1-正常
     */
    public static final SqlColumn<Integer> isEnable = xjhTable.isEnable;

    /**
     * 创建人
     */
    public static final SqlColumn<String> createBy = xjhTable.createBy;

    /**
     * 创建时间
     */
    public static final SqlColumn<Date> createTime = xjhTable.createTime;

    /**
     * 修改人
     */
    public static final SqlColumn<Long> updateBy = xjhTable.updateBy;

    /**
     * 修改时间
     */
    public static final SqlColumn<Date> updateTime = xjhTable.updateTime;

    public static final class xjhTable extends SqlTable {
        public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);

        public final SqlColumn<Long> stuId = column("stu_id", JDBCType.BIGINT);

        public final SqlColumn<BigDecimal> money = column("money", JDBCType.DECIMAL);

        public final SqlColumn<Integer> isEnable = column("is_enable", JDBCType.INTEGER);

        public final SqlColumn<String> createBy = column("create_by", JDBCType.BIGINT);

        public final SqlColumn<Date> createTime = column("create_time", JDBCType.TIMESTAMP);

        public final SqlColumn<Long> updateBy = column("update_by", JDBCType.BIGINT);

        public final SqlColumn<Date> updateTime = column("update_time", JDBCType.TIMESTAMP);

        public xjhTable() {
            super("xjh_table");
        }
    }
}